\hypertarget{classc_render}{\section{c\-Render类 参考}
\label{classc_render}\index{c\-Render@{c\-Render}}
}
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classc_render_a174fed9d65c73ce6fc0feb8373f0f65b}{I\-Direct3\-D\-Device9 $\ast$ {\bfseries init\-\_\-d3d9\-\_\-device} (H\-W\-N\-D window\-\_\-handle, int width, int height, B\-O\-O\-L windowed=T\-R\-U\-E)}\label{classc_render_a174fed9d65c73ce6fc0feb8373f0f65b}

\item 
\hypertarget{classc_render_a229220a07dcb2891ddbefa353e51de77}{I\-Direct3\-D\-Device9 $\ast$ {\bfseries get\-Device9} ()}\label{classc_render_a229220a07dcb2891ddbefa353e51de77}

\item 
\hypertarget{classc_render_ab623d27f6ab9360516918b4edad5151a}{void {\bfseries set\-Clear\-Color} (D3\-D\-C\-O\-L\-O\-R temp)}\label{classc_render_ab623d27f6ab9360516918b4edad5151a}

\item 
\hypertarget{classc_render_a6136f04f34d343c895127f1137491518}{void {\bfseries start\-Render} (bool b\-Color, bool b\-Depth, bool b\-Stencil)}\label{classc_render_a6136f04f34d343c895127f1137491518}

\item 
\hypertarget{classc_render_a59b1e244a8f356673e3a994999dd3bad}{void {\bfseries clear\-Buff} (bool b\-Color, bool b\-Depth, bool b\-Stencil)}\label{classc_render_a59b1e244a8f356673e3a994999dd3bad}

\item 
\hypertarget{classc_render_aa79243a546be0875ee629b60bf84541e}{void {\bfseries end\-Render} ()}\label{classc_render_aa79243a546be0875ee629b60bf84541e}

\item 
\hypertarget{classc_render_adbdfd57642bee411cefddabfeb1f8838}{void {\bfseries init\-\_\-render\-\_\-state} ()}\label{classc_render_adbdfd57642bee411cefddabfeb1f8838}

\item 
\hypertarget{classc_render_ad2381178bfa7185f425dfbda80653adb}{void {\bfseries draw\-Geometry} (\hyperlink{structs_d3_d_static_buffer}{s\-D3\-D\-Static\-Buffer} \&buffer\-\_\-dsc)}\label{classc_render_ad2381178bfa7185f425dfbda80653adb}

\item 
\hypertarget{classc_render_a294961340008426083b9fedd1767b127}{void {\bfseries draw\-Geometry} (I\-Direct3\-D\-Vertex\-Buffer9 $\ast$p\-V\-B, I\-Direct3\-D\-Index\-Buffer9 $\ast$p\-I\-B, D\-W\-O\-R\-D Stride, D\-W\-O\-R\-D Num\-Vertices, D\-W\-O\-R\-D Prim\-Count, D3\-D\-P\-R\-I\-M\-I\-T\-I\-V\-E\-T\-Y\-P\-E Prim\-Type=D3\-D\-P\-T\-\_\-\-T\-R\-I\-A\-N\-G\-L\-E\-L\-I\-S\-T)}\label{classc_render_a294961340008426083b9fedd1767b127}

\item 
\hypertarget{classc_render_a196def386888b26ad14d3d8d1ce923e9}{void {\bfseries set\-Material} (const \hyperlink{structs_material}{s\-Material} \&m)}\label{classc_render_a196def386888b26ad14d3d8d1ce923e9}

\item 
\hypertarget{classc_render_a9b9f64d497b387e54b68ad5227ae55dc}{void {\bfseries disable\-Material} ()}\label{classc_render_a9b9f64d497b387e54b68ad5227ae55dc}

\item 
void \hyperlink{classc_render_a20c0f57c2ae55947056814d738531d67}{set\-Light} (\hyperlink{structs_light}{s\-Light} \&l, int index)
\item 
\hypertarget{classc_render_aa2fcc9182953132c85536734ada20b11}{void {\bfseries disable\-Light} ()}\label{classc_render_aa2fcc9182953132c85536734ada20b11}

\item 
\hypertarget{classc_render_aaaa3f06843d4173ff43de91a3fca22ca}{void {\bfseries add\-Texture} (T\-C\-H\-A\-R $\ast$name, int \&tex\-I\-D)}\label{classc_render_aaaa3f06843d4173ff43de91a3fca22ca}

\item 
\hypertarget{classc_render_a928835019f6445701e26a7593e3d04ba}{void {\bfseries set\-Texture\-Filter} (int index, int filter, int type)}\label{classc_render_a928835019f6445701e26a7593e3d04ba}

\item 
\hypertarget{classc_render_a108848337b1c498d126892a3ae95f606}{void {\bfseries set\-Multi\-Texture} ()}\label{classc_render_a108848337b1c498d126892a3ae95f606}

\item 
\hypertarget{classc_render_a7886503afae5669620da027b27cc2ba0}{void {\bfseries set\-Detail\-Mapping} ()}\label{classc_render_a7886503afae5669620da027b27cc2ba0}

\item 
\hypertarget{classc_render_a2af2eff62a8d1b3acd4520267ba5b5eb}{void {\bfseries apply\-Texture} (int index, int tex\-I\-D)}\label{classc_render_a2af2eff62a8d1b3acd4520267ba5b5eb}

\item 
\hypertarget{classc_render_a03c59d7442cc03916707cee4fcfdbe69}{void {\bfseries save\-Screen\-Shot} ()}\label{classc_render_a03c59d7442cc03916707cee4fcfdbe69}

\item 
\hypertarget{classc_render_a868a30f9a59ff0a801e4a1ecf9f72e38}{I\-Direct3\-D\-Texture9 $\ast$ {\bfseries get\-Texture} (int Tex\-I\-D)}\label{classc_render_a868a30f9a59ff0a801e4a1ecf9f72e38}

\item 
\hypertarget{classc_render_a1a6d70da04435047635b8003f175e47c}{\hyperlink{structs_texture}{s\-Texture} $\ast$ {\bfseries get\-D\-I\-Y\-Tex\-Struct} (int Tex\-Struct\-I\-D)}\label{classc_render_a1a6d70da04435047635b8003f175e47c}

\item 
\hypertarget{classc_render_a2ab929eef742c8a35afde4c68a15f76b}{D3\-D\-S\-U\-R\-F\-A\-C\-E\-\_\-\-D\-E\-S\-C {\bfseries get\-Texture\-Info} (int Tex\-I\-D)}\label{classc_render_a2ab929eef742c8a35afde4c68a15f76b}

\item 
\hypertarget{classc_render_a2bd5708bf517b7e60e4ac70b7868ef53}{int {\bfseries add\-Texture} (const T\-C\-H\-A\-R $\ast$Name)}\label{classc_render_a2bd5708bf517b7e60e4ac70b7868ef53}

\item 
\hypertarget{classc_render_abd3633e72ee28a748f2ac695eefbd460}{void {\bfseries create\-Font} (T\-C\-H\-A\-R $\ast$name, int width, int height, int \&I\-D, B\-O\-O\-L italic=F\-A\-L\-S\-E)}\label{classc_render_abd3633e72ee28a748f2ac695eefbd460}

\item 
\hypertarget{classc_render_a9a39abbe10ceb542f9b04f52bc9e4d37}{void {\bfseries display\-Text} (int id, long x, long y, D3\-D\-C\-O\-L\-O\-R color, T\-C\-H\-A\-R $\ast$text,...)}\label{classc_render_a9a39abbe10ceb542f9b04f52bc9e4d37}

\item 
\hypertarget{classc_render_aa8d6704759de20c1793e013ef374062c}{void {\bfseries set\-World\-Matrix} (D3\-D\-X\-M\-A\-T\-R\-I\-X $\ast$temp)}\label{classc_render_aa8d6704759de20c1793e013ef374062c}

\item 
\hypertarget{classc_render_af88c20dcbbcf1ec311da5677cc2ea84b}{void {\bfseries set\-View\-Matrix} (D3\-D\-X\-M\-A\-T\-R\-I\-X $\ast$temp)}\label{classc_render_af88c20dcbbcf1ec311da5677cc2ea84b}

\item 
\hypertarget{classc_render_a4432904337e2717d69d3e462d059d41b}{void {\bfseries calculate\-Proj\-Matrix} (float fov, float n, float f)}\label{classc_render_a4432904337e2717d69d3e462d059d41b}

\item 
\hypertarget{classc_render_a560f9c35516b2c15c4608fe769bdee73}{void {\bfseries Release\-Tex} (int Tex\-I\-D)}\label{classc_render_a560f9c35516b2c15c4608fe769bdee73}

\item 
\hypertarget{classc_render_a3cf0244e14f2a3564eaef3540780e3ce}{void {\bfseries Release\-Font} (int Font\-I\-D)}\label{classc_render_a3cf0244e14f2a3564eaef3540780e3ce}

\item 
\hypertarget{classc_render_a3fda2f169386ae12bee4af071ee49fef}{void {\bfseries Release\-All\-Tex} ()}\label{classc_render_a3fda2f169386ae12bee4af071ee49fef}

\item 
\hypertarget{classc_render_a2d825b889d3fffae3d65454dbd40f54d}{void {\bfseries Release\-All\-Font} ()}\label{classc_render_a2d825b889d3fffae3d65454dbd40f54d}

\item 
\hypertarget{classc_render_a61ff316949def57526d2fa881b475956}{void {\bfseries shut\-Down\-A\-L\-L\-Xmodels} ()}\label{classc_render_a61ff316949def57526d2fa881b475956}

\item 
\hypertarget{classc_render_a211772b20b2fa0b8233ca5a1af1b5899}{void {\bfseries shut\-Down} ()}\label{classc_render_a211772b20b2fa0b8233ca5a1af1b5899}

\item 
\hypertarget{classc_render_ae03ce2ecde41c2089550932ee8b52d60}{I\-Direct3\-D\-Device9 $\ast$ {\bfseries init\-\_\-d3d9\-\_\-device} (H\-W\-N\-D window\-\_\-handle, int width, int height, B\-O\-O\-L windowed=T\-R\-U\-E)}\label{classc_render_ae03ce2ecde41c2089550932ee8b52d60}

\item 
\hypertarget{classc_render_ab623d27f6ab9360516918b4edad5151a}{void {\bfseries set\-Clear\-Color} (D3\-D\-C\-O\-L\-O\-R temp)}\label{classc_render_ab623d27f6ab9360516918b4edad5151a}

\item 
\hypertarget{classc_render_a6136f04f34d343c895127f1137491518}{void {\bfseries start\-Render} (bool b\-Color, bool b\-Depth, bool b\-Stencil)}\label{classc_render_a6136f04f34d343c895127f1137491518}

\item 
\hypertarget{classc_render_a59b1e244a8f356673e3a994999dd3bad}{void {\bfseries clear\-Buff} (bool b\-Color, bool b\-Depth, bool b\-Stencil)}\label{classc_render_a59b1e244a8f356673e3a994999dd3bad}

\item 
\hypertarget{classc_render_aa79243a546be0875ee629b60bf84541e}{void {\bfseries end\-Render} ()}\label{classc_render_aa79243a546be0875ee629b60bf84541e}

\item 
\hypertarget{classc_render_adbdfd57642bee411cefddabfeb1f8838}{void {\bfseries init\-\_\-render\-\_\-state} ()}\label{classc_render_adbdfd57642bee411cefddabfeb1f8838}

\item 
\hypertarget{classc_render_ad2381178bfa7185f425dfbda80653adb}{void {\bfseries draw\-Geometry} (\hyperlink{structs_d3_d_static_buffer}{s\-D3\-D\-Static\-Buffer} \&buffer\-\_\-dsc)}\label{classc_render_ad2381178bfa7185f425dfbda80653adb}

\item 
\hypertarget{classc_render_a425e4a5222b0e2992404eb8cd7dc5de4}{void {\bfseries set\-Material} (\hyperlink{structs_material}{s\-Material} \&m)}\label{classc_render_a425e4a5222b0e2992404eb8cd7dc5de4}

\item 
\hypertarget{classc_render_a20c0f57c2ae55947056814d738531d67}{void {\bfseries set\-Light} (\hyperlink{structs_light}{s\-Light} \&l, int index)}\label{classc_render_a20c0f57c2ae55947056814d738531d67}

\item 
\hypertarget{classc_render_aa01a6d26afc0d3fa046c784e07d90f04}{void {\bfseries disable\-Light} (int index)}\label{classc_render_aa01a6d26afc0d3fa046c784e07d90f04}

\item 
\hypertarget{classc_render_aaaa3f06843d4173ff43de91a3fca22ca}{void {\bfseries add\-Texture} (T\-C\-H\-A\-R $\ast$name, int \&tex\-I\-D)}\label{classc_render_aaaa3f06843d4173ff43de91a3fca22ca}

\item 
\hypertarget{classc_render_a928835019f6445701e26a7593e3d04ba}{void {\bfseries set\-Texture\-Filter} (int index, int filter, int type)}\label{classc_render_a928835019f6445701e26a7593e3d04ba}

\item 
\hypertarget{classc_render_a108848337b1c498d126892a3ae95f606}{void {\bfseries set\-Multi\-Texture} ()}\label{classc_render_a108848337b1c498d126892a3ae95f606}

\item 
\hypertarget{classc_render_a7886503afae5669620da027b27cc2ba0}{void {\bfseries set\-Detail\-Mapping} ()}\label{classc_render_a7886503afae5669620da027b27cc2ba0}

\item 
\hypertarget{classc_render_a2af2eff62a8d1b3acd4520267ba5b5eb}{void {\bfseries apply\-Texture} (int index, int tex\-I\-D)}\label{classc_render_a2af2eff62a8d1b3acd4520267ba5b5eb}

\item 
\hypertarget{classc_render_a03c59d7442cc03916707cee4fcfdbe69}{void {\bfseries save\-Screen\-Shot} ()}\label{classc_render_a03c59d7442cc03916707cee4fcfdbe69}

\item 
\hypertarget{classc_render_abd3633e72ee28a748f2ac695eefbd460}{void {\bfseries create\-Font} (T\-C\-H\-A\-R $\ast$name, int width, int height, int \&I\-D, B\-O\-O\-L italic=F\-A\-L\-S\-E)}\label{classc_render_abd3633e72ee28a748f2ac695eefbd460}

\item 
\hypertarget{classc_render_a9a39abbe10ceb542f9b04f52bc9e4d37}{void {\bfseries display\-Text} (int id, long x, long y, D3\-D\-C\-O\-L\-O\-R color, T\-C\-H\-A\-R $\ast$text,...)}\label{classc_render_a9a39abbe10ceb542f9b04f52bc9e4d37}

\item 
\hypertarget{classc_render_a28d747013ebb0eae1f26719efe2c8ad3}{void {\bfseries load\-X\-Model} (T\-C\-H\-A\-R $\ast$file, int \&x\-Model\-Id)}\label{classc_render_a28d747013ebb0eae1f26719efe2c8ad3}

\item 
\hypertarget{classc_render_ae9b4cc2d36a6500324ab5e611b7cae92}{void {\bfseries Get\-X\-Model\-Bounding\-Sphere} (int x\-Model\-Id, D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$origin, float $\ast$radius)}\label{classc_render_ae9b4cc2d36a6500324ab5e611b7cae92}

\item 
\hypertarget{classc_render_a0d252d32564b45a510d09ad9ba292430}{void {\bfseries Update\-X\-Animation} (int x\-Model\-Id, float time, D3\-D\-X\-M\-A\-T\-R\-I\-X $\ast$mat)}\label{classc_render_a0d252d32564b45a510d09ad9ba292430}

\item 
\hypertarget{classc_render_a2c2140e076d00dcf4bea657baeddf58b}{void {\bfseries Render\-X\-Model} (int x\-Model\-Id)}\label{classc_render_a2c2140e076d00dcf4bea657baeddf58b}

\item 
\hypertarget{classc_render_a61f8ce1ede421302592cc0259ae6c052}{void {\bfseries init\-Fog} ()}\label{classc_render_a61f8ce1ede421302592cc0259ae6c052}

\item 
\hypertarget{classc_render_a4d6228274552e54bc031291358f40b18}{void {\bfseries on\-Off\-Fog} (B\-O\-O\-L t)}\label{classc_render_a4d6228274552e54bc031291358f40b18}

\item 
\hypertarget{classc_render_aa8d6704759de20c1793e013ef374062c}{void {\bfseries set\-World\-Matrix} (D3\-D\-X\-M\-A\-T\-R\-I\-X $\ast$temp)}\label{classc_render_aa8d6704759de20c1793e013ef374062c}

\item 
\hypertarget{classc_render_af88c20dcbbcf1ec311da5677cc2ea84b}{void {\bfseries set\-View\-Matrix} (D3\-D\-X\-M\-A\-T\-R\-I\-X $\ast$temp)}\label{classc_render_af88c20dcbbcf1ec311da5677cc2ea84b}

\item 
\hypertarget{classc_render_a4432904337e2717d69d3e462d059d41b}{void {\bfseries calculate\-Proj\-Matrix} (float fov, float n, float f)}\label{classc_render_a4432904337e2717d69d3e462d059d41b}

\item 
\hypertarget{classc_render_a560f9c35516b2c15c4608fe769bdee73}{void {\bfseries Release\-Tex} (int Tex\-I\-D)}\label{classc_render_a560f9c35516b2c15c4608fe769bdee73}

\item 
\hypertarget{classc_render_a3cf0244e14f2a3564eaef3540780e3ce}{void {\bfseries Release\-Font} (int Font\-I\-D)}\label{classc_render_a3cf0244e14f2a3564eaef3540780e3ce}

\item 
\hypertarget{classc_render_a3fda2f169386ae12bee4af071ee49fef}{void {\bfseries Release\-All\-Tex} ()}\label{classc_render_a3fda2f169386ae12bee4af071ee49fef}

\item 
\hypertarget{classc_render_a2d825b889d3fffae3d65454dbd40f54d}{void {\bfseries Release\-All\-Font} ()}\label{classc_render_a2d825b889d3fffae3d65454dbd40f54d}

\item 
\hypertarget{classc_render_a61ff316949def57526d2fa881b475956}{void {\bfseries shut\-Down\-A\-L\-L\-Xmodels} ()}\label{classc_render_a61ff316949def57526d2fa881b475956}

\item 
\hypertarget{classc_render_a211772b20b2fa0b8233ca5a1af1b5899}{void {\bfseries shut\-Down} ()}\label{classc_render_a211772b20b2fa0b8233ca5a1af1b5899}

\end{DoxyCompactItemize}


\subsection{成员函数说明}
\hypertarget{classc_render_a20c0f57c2ae55947056814d738531d67}{\index{c\-Render@{c\-Render}!set\-Light@{set\-Light}}
\index{set\-Light@{set\-Light}!cRender@{c\-Render}}
\subsubsection[{set\-Light}]{\setlength{\rightskip}{0pt plus 5cm}void c\-Render\-::set\-Light (
\begin{DoxyParamCaption}
\item[{{\bf s\-Light} \&}]{l, }
\item[{int}]{index}
\end{DoxyParamCaption}
)}}\label{classc_render_a20c0f57c2ae55947056814d738531d67}
打开光源设置 

该类的文档由以下文件生成\-:\begin{DoxyCompactItemize}
\item 
E\-:/!代码工厂/3\-D引擎/No\-X\-Render.\-h\item 
E\-:/!代码工厂/3\-D引擎/Render.\-h\item 
E\-:/!代码工厂/3\-D引擎/No\-X\-Render.\-cpp\item 
E\-:/!代码工厂/3\-D引擎/Render.\-cpp\end{DoxyCompactItemize}
